home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 22 / AACD 22.iso / AACD / Online / Apache / bin / pear < prev    next >
Encoding:
Text File  |  2001-03-06  |  279 b   |  20 lines

  1. #!/Apache/bin/php -f
  2. <?php // -*- C++ -*-
  3.  
  4. require_once "PEAR.php";
  5. require_once "PEAR/Installer.php";
  6.  
  7. error_reporting(1);
  8.  
  9. $pkgfile = $argv[0];
  10.  
  11. if (!$pkgfile) {
  12.     die("Usage: pear <packagefile>\n");
  13. }
  14.  
  15. $p = new PEAR_Installer();
  16. $p->debug = true;
  17. $p->install($pkgfile);
  18.  
  19. ?>
  20.